package edu.jmu.instance.constructor;

import static org.junit.Assert.*;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import edu.jmu.ioc.UserDao;
import edu.jmu.test.TestBase;

public class Bean1Test{

	@Test
	public void test() {
		String xmlPath = "applicationContext.xml";
		ApplicationContext context = new ClassPathXmlApplicationContext(xmlPath);
		System.out.println((Bean1)context.getBean("bean1"));
	}

}
